import { Injectable } from '@nestjs/common';
// interface news {
//     title
// }

export interface IHomePageData{
    news?: any[];
    cases?: any[];
    intro?: string
}

@Injectable()
export class HomeApiService {
    private readonly homePageData: IHomePageData = {
        news: [],
        cases:[],
        intro:'test'
    };

    findAll(): IHomePageData{
        return this.homePageData;
    }
}
